summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/ch/[channel]/+page.svelte
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2025-01-01 18:09:46 -0500
committerKit La Touche <kit@transneptune.net>2025-01-01 18:09:46 -0500
commitc9b3394e9fc2cf6eb505ab03a6479eae996ed6e9 (patch)
treec536430d2fb2e4093fb3b09cbda04369b68a6911 /ui/routes/(app)/ch/[channel]/+page.svelte
parent628337f3afcd5125299cbf620832779ab209022b (diff)
Just oh so many styles
Diffstat (limited to 'ui/routes/(app)/ch/[channel]/+page.svelte')
-rw-r--r--ui/routes/(app)/ch/[channel]/+page.svelte20
1 files changed, 1 insertions, 19 deletions
diff --git a/ui/routes/(app)/ch/[channel]/+page.svelte b/ui/routes/(app)/ch/[channel]/+page.svelte
index d4e04fe..8eba709 100644
--- a/ui/routes/(app)/ch/[channel]/+page.svelte
+++ b/ui/routes/(app)/ch/[channel]/+page.svelte
@@ -67,24 +67,6 @@
<div class="active-channel" on:scroll={handleScroll} bind:this={activeChannel}>
<ActiveChannel {messageRuns} />
</div>
-<div class="create-message max-h-full">
+<div class="create-message">
<MessageInput {channel} />
</div>
-
-<style>
- .active-channel {
- height: calc(
- 100vh - var(--app-bar-height) - var(--interface-padding) - var(--input-row-height)
- );
- overflow: auto;
- }
- .create-message {
- position: fixed;
- bottom: 0.5rem;
- width: calc(100% - var(--nav-width) - 2rem);
- @media (width <= 640px) {
- width: 100%;
- left: 0;
- }
- }
-</style>